package ink.carnation.imtalk.exception;

/**
 * @Author 桂乙侨
 * @Date 2020/9/20 22:42
 * @Version 1.0
 */
public class IMException extends RuntimeException {

    private Integer code;

    public IMException(String message,Integer code) {
        super(message);
        this.code = code;
    }

    public IMException(String message) {
        super(message);
        this.code = 600;
    }
}
